﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000ED1 RID: 3793
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueEndlessAreaData : IMessage<RogueEndlessAreaData>, IMessage, IEquatable<RogueEndlessAreaData>, IDeepCloneable<RogueEndlessAreaData>, IBufferMessage
	{
		// Token: 0x17003010 RID: 12304
		// (get) Token: 0x0600A9E2 RID: 43490 RVA: 0x001CA8E7 File Offset: 0x001C8AE7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueEndlessAreaData> Parser
		{
			get
			{
				return RogueEndlessAreaData._parser;
			}
		}

		// Token: 0x17003011 RID: 12305
		// (get) Token: 0x0600A9E3 RID: 43491 RVA: 0x001CA8EE File Offset: 0x001C8AEE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueEndlessAreaDataReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003012 RID: 12306
		// (get) Token: 0x0600A9E4 RID: 43492 RVA: 0x001CA900 File Offset: 0x001C8B00
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueEndlessAreaData.Descriptor;
			}
		}

		// Token: 0x0600A9E5 RID: 43493 RVA: 0x001CA907 File Offset: 0x001C8B07
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueEndlessAreaData()
		{
		}

		// Token: 0x0600A9E6 RID: 43494 RVA: 0x001CA910 File Offset: 0x001C8B10
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueEndlessAreaData(RogueEndlessAreaData other) : this()
		{
			this.areaId_ = other.areaId_;
			this.kFIMLHHPMLI_ = ((other.kFIMLHHPMLI_ != null) ? other.kFIMLHHPMLI_.Clone() : null);
			this.hAGGJLJEFKA_ = ((other.hAGGJLJEFKA_ != null) ? other.hAGGJLJEFKA_.Clone() : null);
			this.panelId_ = other.panelId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600A9E7 RID: 43495 RVA: 0x001CA984 File Offset: 0x001C8B84
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueEndlessAreaData Clone()
		{
			return new RogueEndlessAreaData(this);
		}

		// Token: 0x17003013 RID: 12307
		// (get) Token: 0x0600A9E8 RID: 43496 RVA: 0x001CA98C File Offset: 0x001C8B8C
		// (set) Token: 0x0600A9E9 RID: 43497 RVA: 0x001CA994 File Offset: 0x001C8B94
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint AreaId
		{
			get
			{
				return this.areaId_;
			}
			set
			{
				this.areaId_ = value;
			}
		}

		// Token: 0x17003014 RID: 12308
		// (get) Token: 0x0600A9EA RID: 43498 RVA: 0x001CA99D File Offset: 0x001C8B9D
		// (set) Token: 0x0600A9EB RID: 43499 RVA: 0x001CA9A5 File Offset: 0x001C8BA5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueEndlessLayerInfo KFIMLHHPMLI
		{
			get
			{
				return this.kFIMLHHPMLI_;
			}
			set
			{
				this.kFIMLHHPMLI_ = value;
			}
		}

		// Token: 0x17003015 RID: 12309
		// (get) Token: 0x0600A9EC RID: 43500 RVA: 0x001CA9AE File Offset: 0x001C8BAE
		// (set) Token: 0x0600A9ED RID: 43501 RVA: 0x001CA9B6 File Offset: 0x001C8BB6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LNFPOIOEBKD HAGGJLJEFKA
		{
			get
			{
				return this.hAGGJLJEFKA_;
			}
			set
			{
				this.hAGGJLJEFKA_ = value;
			}
		}

		// Token: 0x17003016 RID: 12310
		// (get) Token: 0x0600A9EE RID: 43502 RVA: 0x001CA9BF File Offset: 0x001C8BBF
		// (set) Token: 0x0600A9EF RID: 43503 RVA: 0x001CA9C7 File Offset: 0x001C8BC7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint PanelId
		{
			get
			{
				return this.panelId_;
			}
			set
			{
				this.panelId_ = value;
			}
		}

		// Token: 0x0600A9F0 RID: 43504 RVA: 0x001CA9D0 File Offset: 0x001C8BD0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueEndlessAreaData);
		}

		// Token: 0x0600A9F1 RID: 43505 RVA: 0x001CA9E0 File Offset: 0x001C8BE0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueEndlessAreaData other)
		{
			return other != null && (other == this || (this.AreaId == other.AreaId && object.Equals(this.KFIMLHHPMLI, other.KFIMLHHPMLI) && object.Equals(this.HAGGJLJEFKA, other.HAGGJLJEFKA) && this.PanelId == other.PanelId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600A9F2 RID: 43506 RVA: 0x001CAA54 File Offset: 0x001C8C54
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.AreaId != 0U)
			{
				num ^= this.AreaId.GetHashCode();
			}
			if (this.kFIMLHHPMLI_ != null)
			{
				num ^= this.KFIMLHHPMLI.GetHashCode();
			}
			if (this.hAGGJLJEFKA_ != null)
			{
				num ^= this.HAGGJLJEFKA.GetHashCode();
			}
			if (this.PanelId != 0U)
			{
				num ^= this.PanelId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600A9F3 RID: 43507 RVA: 0x001CAAD8 File Offset: 0x001C8CD8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600A9F4 RID: 43508 RVA: 0x001CAAE0 File Offset: 0x001C8CE0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600A9F5 RID: 43509 RVA: 0x001CAAEC File Offset: 0x001C8CEC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.hAGGJLJEFKA_ != null)
			{
				output.WriteRawTag(34);
				output.WriteMessage(this.HAGGJLJEFKA);
			}
			if (this.PanelId != 0U)
			{
				output.WriteRawTag(40);
				output.WriteUInt32(this.PanelId);
			}
			if (this.kFIMLHHPMLI_ != null)
			{
				output.WriteRawTag(58);
				output.WriteMessage(this.KFIMLHHPMLI);
			}
			if (this.AreaId != 0U)
			{
				output.WriteRawTag(120);
				output.WriteUInt32(this.AreaId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600A9F6 RID: 43510 RVA: 0x001CAB80 File Offset: 0x001C8D80
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.AreaId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.AreaId);
			}
			if (this.kFIMLHHPMLI_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.KFIMLHHPMLI);
			}
			if (this.hAGGJLJEFKA_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.HAGGJLJEFKA);
			}
			if (this.PanelId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.PanelId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600A9F7 RID: 43511 RVA: 0x001CAC08 File Offset: 0x001C8E08
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueEndlessAreaData other)
		{
			if (other == null)
			{
				return;
			}
			if (other.AreaId != 0U)
			{
				this.AreaId = other.AreaId;
			}
			if (other.kFIMLHHPMLI_ != null)
			{
				if (this.kFIMLHHPMLI_ == null)
				{
					this.KFIMLHHPMLI = new RogueEndlessLayerInfo();
				}
				this.KFIMLHHPMLI.MergeFrom(other.KFIMLHHPMLI);
			}
			if (other.hAGGJLJEFKA_ != null)
			{
				if (this.hAGGJLJEFKA_ == null)
				{
					this.HAGGJLJEFKA = new LNFPOIOEBKD();
				}
				this.HAGGJLJEFKA.MergeFrom(other.HAGGJLJEFKA);
			}
			if (other.PanelId != 0U)
			{
				this.PanelId = other.PanelId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600A9F8 RID: 43512 RVA: 0x001CACB0 File Offset: 0x001C8EB0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600A9F9 RID: 43513 RVA: 0x001CACBC File Offset: 0x001C8EBC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 40U)
				{
					if (num == 34U)
					{
						if (this.hAGGJLJEFKA_ == null)
						{
							this.HAGGJLJEFKA = new LNFPOIOEBKD();
						}
						input.ReadMessage(this.HAGGJLJEFKA);
						continue;
					}
					if (num == 40U)
					{
						this.PanelId = input.ReadUInt32();
						continue;
					}
				}
				else
				{
					if (num == 58U)
					{
						if (this.kFIMLHHPMLI_ == null)
						{
							this.KFIMLHHPMLI = new RogueEndlessLayerInfo();
						}
						input.ReadMessage(this.KFIMLHHPMLI);
						continue;
					}
					if (num == 120U)
					{
						this.AreaId = input.ReadUInt32();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x040044E7 RID: 17639
		private static readonly MessageParser<RogueEndlessAreaData> _parser = new MessageParser<RogueEndlessAreaData>(() => new RogueEndlessAreaData());

		// Token: 0x040044E8 RID: 17640
		private UnknownFieldSet _unknownFields;

		// Token: 0x040044E9 RID: 17641
		public const int AreaIdFieldNumber = 15;

		// Token: 0x040044EA RID: 17642
		private uint areaId_;

		// Token: 0x040044EB RID: 17643
		public const int KFIMLHHPMLIFieldNumber = 7;

		// Token: 0x040044EC RID: 17644
		private RogueEndlessLayerInfo kFIMLHHPMLI_;

		// Token: 0x040044ED RID: 17645
		public const int HAGGJLJEFKAFieldNumber = 4;

		// Token: 0x040044EE RID: 17646
		private LNFPOIOEBKD hAGGJLJEFKA_;

		// Token: 0x040044EF RID: 17647
		public const int PanelIdFieldNumber = 5;

		// Token: 0x040044F0 RID: 17648
		private uint panelId_;
	}
}
